//
//  HomeVCModelHandle.h
//  QLadder
//
//  Created by xiongguobing on 2019/8/19.
//  Copyright © 2019 qding. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^bannerImgDidClickedBlock)(NSString * _Nonnull url);
typedef void(^didLoadUserInfo)(NSInteger openVPN);

NS_ASSUME_NONNULL_BEGIN

@interface HomeVCModelHandle : NSObject

@property (nonatomic, copy) bannerImgDidClickedBlock clickBlock;
@property (nonatomic, copy) didLoadUserInfo userInfoBlock;


- (void)uploadUserLoginLogWithIsLogin:(BOOL)isLogin;

- (CABasicAnimation *)getAnimation;

- (BOOL)isCanConnect;

- (void)handleBannerImgDidClickedBlock:(bannerImgDidClickedBlock)block;

- (void)handleDidLoadUserInfoBlock:(didLoadUserInfo)block;

- (void)setupBannerImg:(UIImageView *)img;

/**< 获取用户信息 */
- (void)loadUserInfo;

@end

NS_ASSUME_NONNULL_END
